package com.miaomaster;

import org.apache.dubbo.common.stream.StreamObserver;

public interface UserService {



    public String getUser();


    // 服务端流
    default void sayHelloServiceStream(String name, StreamObserver<String> response) {

    }


    // 客户端流
    default StreamObserver<String> sayHelloStream(StreamObserver<String> response) {
        return response;
    }
}
